from requests_html import HTMLSession
from bs4 import BeautifulSoup
import http.cookiejar as cookielib
import requests
import json

session = HTMLSession()
headers = {
    "Content-Type": "application/json;charset=UTF-8"
}
params = '{"userName":"portz","password":"Achui_19800724","productLine":"IFP","allianceId":"","toPage":"","auctionId":"","bidId":""}'
postdata = json.loads(params)

#aaa = session.post("https://www9.qa.ehealthinsurance.com/newbologin/api/login", headers=headers, json=postdata, verify=False)
#print(aaa)
#r = session.get("https://www9.qa.ehealthinsurance.com/ehi/KeyInfo.ds?appID=15237175&bo.fromScreen=searchResult&mcei.app.terminalID=__tid__1_", verify=False)
r = session.get("https://preview.pro.ant.design/user/login", verify=False)

r.html.render(timeout=500)
#print(r.html.page.content())

#r = session.get("https://www9.qa.ehealthinsurance.com/bov2/login.html", verify=False, )
#r.html.render(timeout=200)
html = BeautifulSoup(r.html.html, "lxml")
print("=============", html)
options = html.find_all(class_="ant-checkbox-wrapper")
for option in options:
    print(option)